package com.shop2cn.iapi.sqoptrade.resp;

import java.math.BigDecimal;
import java.util.List;

import com.ymttest.database.sharding.db.sharding.model.OrderDetailPo;
import com.ymttest.database.sharding.db.sharding.model.OrderPo;

public class Order {

	private OrderPo orderPo;

	private List<OrderDetailPo> orderDetailPoList;

	public OrderPo getOrderPo() {
		return orderPo;
	}

	public void setOrderPo(OrderPo orderPo) {
		this.orderPo = orderPo;
	}

	public long getOrderId() {
		return orderPo.getOrderId();
	}

	public Long getSellerId() {
		return orderPo.getSellerId();
	}

	/**
	 * 订单总运费
	 * @return
	 */
	public BigDecimal getOrderFreight() {
		return orderPo.getFreight();
	}

	/**
	 * 订单应付金额
	 * @return
	 */
	public BigDecimal getOrderPayableAmount() {
		return orderPo.getPayableAmount();
	}
	
	public BigDecimal getOrderTaxFee() {
		return orderPo.getTaxFee();
	}
	
	public BigDecimal getOrderServiceAmount() {
		return orderPo.getServiceAmount();
	}
	
	public BigDecimal getOrderIntegralDeductionAmount() {
		return orderPo.getIntegralDeductionAmount();
	}
	
	public List<OrderDetailPo> getOrderDetailPoList() {
		return orderDetailPoList;
	}

	public void setOrderDetailPoList(List<OrderDetailPo> orderDetailPoList) {
		this.orderDetailPoList = orderDetailPoList;
	}
}
